package xx.iverson.navigation_manager.mapper;

import org.apache.ibatis.annotations.*;
import xx.iverson.navigation_manager.entity.SysUser;

/**
 * xx.iverson.navigation_manager.mapper.SysUserMapper
 * 描述：
 * on 2025/9/26-下午2:28
 *
 * @author weijx
 */
@Mapper
public interface SysUserMapper {
    SysUser findByUsername(String username);

    SysUser findById(Integer id);

    int insert(SysUser user);

    int updatePassword(@Param("id") Integer id, @Param("password") String password);

    int update(SysUser user);
}
